ARG NGINX_IMAGE=nginx:latest
FROM ${NGINX_IMAGE}

ENV TZ=Asia/Shanghai
RUN rm -rf /etc/localtime \
  && ln -fs /usr/share/zoneinfo/${TZ} /etc/localtime \
  && echo ${TZ} > /etc/timezone

COPY dist /usr/share/nginx/html
#　修改nginx的配置项
COPY deploy/*.conf /etc/nginx/conf.d
